#pragma once

#include "INetWork.h"
#include "Package.h"
class CDispose
{
public:
	virtual int Handler_Data(Package& msg,ISocket* socket) = 0;
	virtual int ConnectCompleted(ISocket* socket) = 0;
	virtual void CheckTimeOut(time_t time) = 0;
	virtual int DealWithUdpMessage(Package& msg,SOCKADDR_IN& sockaddr) = 0;
};

extern "C" void SetDispose(CDispose* dispose);